package com.cn.lf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * Created by liufeng on 2018/6/14
 */
@SpringBootApplication
@EnableEurekaClient
@EnableZuulProxy    //开启网关功能
public class ZuulApplication {
 public static void main(String args[]) {
     SpringApplication.run(ZuulApplication.class,args);
  }
}
